Uninterruptible power supply systems and methods for communication systems

ABSTRACT

An uninterruptible power supply adapted to be connected between an AC line and a load, comprising a battery system, an inverter, and a transformer, and a controller. The battery system stores battery power. The inverter is operatively connected to the battery system. The transformer is operatively connected to the AC line, the load, and an inverter winding operatively connected to the inverter. The controller controls the inverter to supply power to the primary winding using battery power stored in the battery system based on a cost value indicative of reduction of life of the battery system.

RELATED APPLICATIONS

This application U.S. patent application Ser. No. 16/386,057 filed Apr. 16, 2019 is a continuation of U.S. patent application Ser. No. 15/791,314 filed Oct. 23, 2017, now U.S. Pat. No. 10,263,460, which issued on Apr. 16, 2019.

U.S. patent application Ser. No. 15/791,314 is a continuation of U.S. application Ser. No. 14/710,421, filed May 12, 2015, now U.S. Pat. No. 9,800,090, which issued on Oct. 24, 2017.

U.S. application Ser. No. 14/710,421 is a continuation of U.S. patent application Ser. No. 13/275,272, filed Oct. 17, 2011, now U.S. Pat. No. 9,030,048, which issued May 12, 2015.

U.S. application Ser. No. 13/275,272 claims benefit of U.S. Provisional Patent Application Ser. No. 61/394,300, filed Oct. 18, 2010.

The contents of the application(s) listed above are incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to uninterruptible power supplies for use in communications systems and, more specifically, to uninterruptible power supplies having sporadically used energy production and/or storage systems.

BACKGROUND

UPS systems are often designed to be used to provide power to a larger communications system based on an AC utility power signal generated by an electric utility. Examples of communications systems that might use such UPS systems are cable TV (CATV) systems, telephony systems, and cellular telephone systems. Typically, a large number of the UPS systems will be distributed throughout the communications system.

In a typical UPS system designed to provide power to a primary load, the battery array is used only when the utility power signal is not present or out of predetermined parameters, and the battery array may be unused for long periods of time. The battery arrays distributed throughout a typical large communications system are a relatively expensive asset of such communications systems.

The need exists for improved UPS systems and methods that make better use of the existing assets forming a communications system.

SUMMARY

The present invention may be embodied as uninterruptible power supply adapted to be connected between an AC line and a load, comprising a battery system, an inverter, and a transformer, and a controller. The battery system stores battery power. The inverter is operatively connected to the battery system. The transformer is operatively connected to the AC line, the load, and an inverter winding operatively connected to the inverter. The controller controls the inverter to supply power to the primary winding using battery power stored in the battery system based on a cost value indicative of reduction of life of the battery system.

The present invention may also be embodied as a method of supplying power to a load comprising the following steps. Battery power is stored in a battery system. An inverter is operatively connected to the battery system. Providing a transformer. The transformer is operatively connected to the AC line. The transformer is operatively connected to the load. The transformer is operatively connected to the inverter. The inverter is controlled to supply power to the primary winding using battery power stored in the battery system based on a cost value indicative of reduction of life of the battery system.

The present invention may also be embodied as an uninterruptible power supply adapted to be connected between an AC line and a load comprising a battery system, an inverter, a transformer, and a controller. The battery system stores battery power. The inverter is operatively connected to the battery system. The transformer comprises a primary winding adapted to be operatively connected to the AC line, a load winding adapted to be operatively connected to the load, and an inverter winding operatively connected to the inverter. The controller controls the inverter to operate in a first mode in which the inverter supplies power to the battery system, a second mode in which the inverter supplies power to the load winding using battery power stored in the battery system, and a third mode based on a cost value indicative of reduction of life of the battery system.

DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a first example uninterruptible power supply (UPS) of the present invention;

FIG. 2 is a flow chart illustrating a first example of control logic for controlling the operation of the first example UPS to perform peak shaving;

FIG. 3 is a flow chart illustrating a second example of control logic for controlling the operation of the first example UPS to perform peak shaving;

FIG. 4 is a flow chart illustrating a third example of control logic for controlling the operation of the first example UPS to perform peak shaving;

FIG. 5 is a block diagram of a second example uninterruptible power supply (UPS) of the present invention;

FIG. 6 is a flow chart illustrating one example of control logic for controlling the operation of the second example UPS to perform peak shaving;

FIG. 7 is a block diagram of a third example uninterruptible power supply (UPS) of the present invention.

DETAILED DESCRIPTION

Referring initially to FIG. 1 of the drawing, depicted therein is a first example UPS system 20 constructed in accordance with, and embodying, the principles of the present invention. The example UPS system 20 is adapted to obtain power from and supply power to a utility 22 and also to provide power to a primary load 24. As depicted in FIG. 1, a meter 26 may be connected between the utility 22 and the first example UPS system 20.

The first example UPS system 20 is designed to be used to provide power to a larger communications system (partly represented in FIG. 1 by the primary load) based on an AC utility power signal generated by an electric utility. Examples of communications systems that might use the UPS system 20 are cable TV (CATV) systems, telephony systems, and cellular telephone systems.

Typically, a large number of the UPS systems such as the example UPS system 20 will be distributed throughout the communications system. In general, a plurality (two or more) and typically tens or hundreds of the first example UPS systems will be located where utility power is available and distributed throughout the communications system as necessary to provide an appropriate power signal to components of the communications system. Only the example UPS system 20 is depicted in FIG. 1 for purposes of clarity.

Typically, but not necessarily, the utility 22 operates at a standard voltage (V₁), while the primary load 24 operates at a different voltage level (V₂) than the utility 22. When the voltages V₁ and V₂ are different, a transformer 30 thus steps the voltage up or down as necessary to perform the functions described below. In addition, the primary load 24 may operate in some environments (e.g., CATV systems) based on an AC power signal and in other environments (e.g., telephony systems) based on a DC power signal. As is conventional, the battery array 34 is one or more batteries that employ a DC power signal. While batteries currently represent the most conventional manner of storing power for the generation of electricity, other power storage systems may be used as will be generally discussed in further detail below.

The first example UPS system 20 comprises the transformer 30, an inverter circuit 32, a battery array 34, a controller 36, and a service disconnect 38. The service disconnect 38 may be operated to disconnect the transformer from the utility 22. The transformer 30 comprises a core 40, a first winding 42, a second winding 44, and an third winding 46.

The first example UPS system 20 may be configured to operate in one or more of at least three operating modes. In a first (primary) operating mode, the UPS system 20 supplies power to the primary load 24 and charges the battery array 34 using power from the utility 22. In a second (standby) operating mode, the UPS system 20 supplies power to the primary load 24 using power stored in the battery array 34. In a third operating (peak shaving) mode, the UPS system 20 supplies power to the utility 22 using power stored in the battery array 34. In the first example UPS system 20, the controller 36 determines whether the UPS system operates in the first, second, or third modes.

In a typical UPS system designed to provide power to a primary load, the battery array is used only when the utility power signal is not present or out of predetermined parameters, and the battery array may be unused for long periods of time. The provision of the third operating mode allows the operator of the first example UPS system to optimize the use of assets (e.g., batteries) that otherwise typically are unused for long periods of time. In particular, the operator of the first example UPS system 20 can charge the battery array 34 using utility power during off-peak utility hours when power prices are relatively cheap and, during peak utility hours when power prices are relatively expensive, sell power back to the utility by discharging the battery array 34. The operator of the communications system incorporating the first example UPS system 20 may thus profit on the difference between peak and off peak prices for electrical power.

In a typical UPS system designed to provide power to a primary load, the battery array is comprised of batteries optimized for continuous charging and infrequent discharging. While such batteries may be used in the first example UPS system 20, the example battery array 34 of the first example UPS system 20 is preferably comprised of deep cycle batteries optimized for frequent charging and discharging. The use of deep cycle batteries in the example battery array 34 allows the first example UPS system to operate in the third operating mode on a frequent (e.g., daily) basis without seriously adversely affecting the life of the batteries forming the battery array 34.

However, even deep cycle batteries may be charged and discharged a limited number of times before replacement is required, so the charging and discharging of the battery array 34 represents a cost to the operator of the first example UPS system 20. Additionally, the costs of replacing particular batteries (e.g., remote or difficult to access) may be factored into the cost of operating particular battery arrays 34 in the communications system. Accordingly, the cost to the operator of the communications system operating the first example UPS system 20 in terms of reduced battery life may be considered when the controller 36 places the UPS system 20 in the third operating mode. In particular, the controller 36 may be programmed to place the UPS system in the third operating mode only if the difference between the peak and off-peak electricity prices is sufficiently high to justify incrementally reducing the life of the batteries forming the example battery array 34.

Referring now to FIG. 2 of the drawing, depicted therein is a first example method 120 that may be implemented by the controller 36 of the first example UPS system 20. The first example method 120 begins at a initial step 130 and initially proceeds to a step 132 which determines whether the utility power signal generated by the utility 22 is within certain predetermined conditions (i.e., acceptable). If not, the method 120 places the UPS system 20 in the second operating mode at step 134 and returns to the initial step 130.

If the utility power signal generated by the utility 22 is within the predetermined conditions, the method 120 moves to step 140, which determines whether the utility 22 is supplying power at peak or non-peak rates. If the utility 22 is supplying power at non-peak rates, the method 120 places the system 20 in the first operating mode at step 142 and then returns to the initial step 130. If the utility 22 is supplying power at peak rates, the method 120 places the system 20 in the third operating mode at step 144 and then returns to the initial step 130.

The first example method 120 thus places primary emphasis on causing the UPS system 20 to provide standby power to the primary load 24 in the second operating mode when the utility power signal is unacceptable but causes the UPS system 20 to operate in either the first operating mode (e.g., charging batteries with relatively cheap power) during non-peak time periods or in the third operating mode (e.g., selling power back to the utility) during peak time periods.

Referring now to FIG. 3 of the drawing, depicted therein is a second example method 150 that may be implemented by the controller 36 of the first example UPS system 20. The second example method 150 begins at a initial step 160 and initially proceeds to a step 162 which determines whether the utility power signal generated by the utility 22 is within certain predetermined conditions (i.e., acceptable). If not, the method 150 places the UPS system 20 in the second operating mode at step 164 and returns to the initial step 160.

If the utility power signal generated by the utility 22 is within the predetermined conditions, the method 150 moves to step 170, which determines whether the utility 22 is supplying power at peak or non-peak rates. If the utility 22 is supplying power at non-peak rates, the method 150 places the system 20 in the first operating mode at step 172 and then returns to the initial step 160.

If the utility 22 is supplying power at peak rates, the second example method 150 proceeds to a step 174 at which it is determined whether the example battery array 34 is within predetermined parameters. As one example, the charge on the battery array 34 may be too low to provide adequate standby power to the primary load 24 should the utility power signal should become unacceptable. As other examples, the age of the battery array 34 or operating conditions (temperature, humidity, etc.) may be inappropriate for using the battery array 34 for any purpose other than providing standby power to the primary load 22. In any of these situations, the method 150 returns to the initial step 160 and does not place the example UPS system 20 into the third operating mode.

If, on the other hand, the example battery array 34 is within the predetermined parameters, the method 150 places the system 20 in the third operating mode at step 176 and then returns to the initial step 160.

The second example method 150 thus places even more emphasis on causing the UPS system 20 to provide standby power to the primary load 24 by preventing the UPS system 20 from operating in the third operating mode if the battery array 34 is outside of certain predetermined parameters. Only when the condition of the battery array 34 is appropriate for use in peak shaving will the method 150 place the UPS system 20 in the third operating mode. Otherwise, the second example method 150 causes the UPS system 20 to operate in either the first operating mode (e.g., charging batteries with relatively cheap power) during non-peak time periods or in the third operating mode (e.g., selling power back to the utility) during peak time periods.

Referring now to FIG. 4 of the drawing, depicted therein is a third example method 220 that may be implemented by the controller 36 of the first example UPS system 20. The third example method 220 begins at a initial step 230 and initially proceeds to a step 232 which determines whether the utility power signal generated by the utility 22 is within certain predetermined conditions (i.e., acceptable). If not, the method 220 places the UPS system 20 in the second operating mode at step 234 and returns to the initial step 230.

If the utility power signal generated by the utility 22 is within the predetermined conditions, the method 220 moves to step 240, which determines whether the utility 22 is supplying power at peak or non-peak rates. If the utility 22 is supplying power at non-peak rates, the method 220 places the system 20 in the first operating mode at step 242 and then returns to the initial step 230.

If the utility 22 is supplying power at peak rates, the second example method 150 proceeds to a step 244 at which it is determined whether a profit margin, or difference between peak and non-peak rates, is sufficient to justify the discharge/charge cycle required to sell power back to the utility 22. As generally discussed above, each charge and discharge cycle reduces the overall life of the batteries forming the battery array 34. This reduction in overall life of the battery array can be quantified and compared with the possible revenue derived from selling energy back to the utility 22. If step 174 determines that this margin is too low to justify the reduction in battery life, the method 220 returns to the initial step 230 and does not place the example UPS system 20 into the third operating mode.

If, on the other hand, the margin is within predetermined parameters (e.g., above a minimum), the method 220 places the system 20 in the third operating mode at step 246 and then returns to the initial step 230.

The third example method 220 thus takes into account additional variables when determining whether selling power back to the utility 22 is justified. Only when the profit margin exceeds the cost associated with charging and discharging the battery will the method 220 place the UPS system 20 in the third operating mode. Otherwise, the second example method 150 causes the UPS system 20 to operate in either the first operating mode (e.g., charging batteries with relatively cheap power) during non-peak time periods or in the third operating mode (e.g., selling power back to the utility) during peak time periods.

In addition, the third example method 220 may be modified to incorporate the step 174 of the second example method 150 to allow even more sophisticated control of the first example UPS system 20. Employing both the step 174 and the step 244 allows the first example UPS system 20 to prevent the UPS system 20 from operating in the third operating mode if the battery array 34 is outside of certain predetermined parameters and/or if the profit margin exceeds the cost associated with charging and discharging the battery.

Referring now to FIG. 5 of the drawing, depicted therein is a second example UPS system 320 constructed in accordance with, and embodying, the principles of the present invention. The example UPS system 320 is adapted to obtain power from and supply power to a utility 322 and also to provide power to a primary load 324. As depicted in FIG. 5, a meter 326 may be connected between the utility 322 and the second example UPS system 320. In addition, UPS system such as the first and second example UPS system 20 and 320 may be used in connection with a remote monitoring system 328 as will be described in further detail below.

Like the first example UPS system 20, the second example UPS system 320 is designed to be used to provide power to a larger communications system (partly represented in FIG. 5 by the primary load) based on an AC utility power signal generated by a electrical utility. Examples of communications systems that might use the UPS system 320 are cable TV (CATV) systems, telephony systems, and cellular telephone systems. And like the first example UPS system 20, the communications system comprises at least a plurality (two or more) and typically many UPS systems, including a plurality of the second UPS systems 320. Only one of the third example UPS systems 320 is depicted in FIG. 5 for purposes of clarity.

Typically, the utility 322 operates at a standard voltage (V₁), while the primary load 324 operates at a different voltage level (V₂) than the utility 322. The transformer 330 thus steps the voltage up or down as necessary to perform the functions described below. In addition, the primary load 324 may operate in some environments (e.g., CATV systems) based on an AC power signal and in other environments (e.g., telephony systems) based on a DC power signal. As is conventional, the battery array 334 is one or more batteries that employ a DC power signal.

The second example UPS system 320 comprises transformer 330, an inverter circuit 332, a battery array 334, a controller 336, and a service disconnect 338. The service disconnect 338 may be operated to disconnect the transformer from the utility 322. The transformer 330 comprises a core 340, a first winding 342, a second winding 344, and an third winding 346.

In addition, the third example UPS system 320 comprises a primary alternative energy source 350 and a charge controller 352. The example alternative energy source 350 is an array of solar panels, and the charge controller 352 generates a charge signal appropriate for charging the battery array 334 based on the electrical output of the solar panels. Optionally, one or more secondary alternative energy sources 354, such as wind or water turbines, may be provided. The charge controller 352 may be configured to generate an appropriate charge signal additionally based on the electrical output of the secondary alternative energy source or sources 354, if available.

The third example UPS system 320 may be configured to operate in one or more of at least three operating modes. In a first (primary) operating mode, the UPS system 320 supplies power to the primary load 324 and charges the battery array 334 using power from the utility 322. In a second (standby) operating mode, the UPS system 320 supplies power to the primary load 324 using power stored in the battery array 334. In a third operating (peak shaving) mode, the UPS system 320 supplies power to the utility 322 using power stored in the battery array 334 and/or battery generated by the primary and/or secondary alternative energy sources 350 and 352. In the second example UPS system 320, the controller 336 determines whether the UPS system operates in the first, second, or third modes.

As discussed above with reference to the first example UPS 20, the use of the third operating mode allows the operator of the second example UPS system to optimize the use of assets (e.g., batteries, solar panels, wind turbines, water turbines) that may be underused or which may generate too much capacity for use by the primary load 324 and/or battery array 334.

In addition, the use of the remote monitoring system 328 allows the controller 336 to have up-to-date rate and other information for use in determining whether the UPS system 320 operates in the first, second, or third modes.

Referring now to FIG. 6 of the drawing, depicted therein is a fourth example method 360 that may be implemented by the controller 336 of the second example UPS system 320. The fourth example method 360 begins at a initial step 370 and initially proceeds to a step 372 which determines whether the utility power signal generated by the utility 22 is within certain predetermined conditions (i.e., acceptable). If not, the method 360 places the UPS system 20 in the second operating mode at step 374 and returns to the initial step 370.

If the utility power signal generated by the utility 22 is within the predetermined conditions, the method 360 moves to step 380, which determines whether the utility 22 is supplying power at peak or non-peak rates. If the utility 22 is supplying power at non-peak rates, the method 360 places the system 20 in the first operating mode at step 382 and then returns to the initial step 370.

If the utility 22 is supplying power at peak rates, the second example method 360 proceeds to a step 384 at which it is determined whether an acceptable alternative energy source is available to the UPS system 320. The acceptable energy source may be one or more of the battery array 334, the primary alternative energy source 350, or (if used) the secondary alternative energy source 354. Factors such as availability of sunlight and the wear on the battery array 334 or the alternative energy sources 350 and 354 may be considered at step 384. The method 360 returns to the initial step 370 if the alternative is not available at step 384.

If the alternative is available at step 384, the method 360 proceeds to step 386 at which it is determined whether the difference between peak and non-peak rates is sufficient to justify the discharge/charge cycle on the battery array 334 required to sell power back to the utility 22. If step 386 determines that this margin is too low to justify the reduction in battery life, the method 360 returns to the initial step 370 and does not place the example UPS system 320 into the third operating mode.

If, on the other hand, the margin is within predetermined parameters (e.g., above a minimum), the method 360 places the system 320 in the third operating mode at step 390 and then returns to the initial step 370.

Referring now to FIG. 7 of the drawing, depicted therein is a third example UPS system 420 constructed in accordance with, and embodying, the principles of the present invention. The example UPS system 420 is adapted to obtain power from and supply power to a utility 422 and also to provide power to a primary load 424. As depicted in FIG. 7, a meter 426 may be connected between the utility 422 and the third example UPS system 420. In addition, the third example UPS system 420 may be used in connection with a remote monitoring system 428 as will be described in further detail below.

Like the first example UPS system 20, the third example UPS system 420 is designed to be used to provide power to a larger communications system (partly represented in FIG. 7 by the primary load) based on an AC utility power signal generated by a electrical utility. Examples of communications systems that might use the UPS system 420 are cable TV (CATV) systems, telephony systems, and cellular telephone systems. And like the first example UPS system 20, the communications system comprises at least a plurality (two or more) and typically many UPS systems, including a plurality of the second UPS systems 420. Only one of the third example UPS systems 420 is depicted in FIG. 7 for purposes of clarity.

Typically, the utility 422 operates at a standard voltage (V₁), while the primary load 424 operates at a different voltage level (V₂) than the utility 422. The transformer 430 thus steps the voltage up or down as necessary to perform the functions described below. In addition, the primary load 424 may operate in some environments (e.g., CATV systems) based on an AC power signal and in other environments (e.g., telephony systems) based on a DC power signal. As is conventional, the battery array 434 is one or more batteries that employ a DC power signal.

The third example UPS system 420 comprises transformer 430, an inverter circuit 432, a battery array 434, a controller 436, and a service disconnect 438. The service disconnect 438 may be operated to disconnect the transformer from the utility 422. The transformer 430 comprises a core 440, a first winding 442, a second winding 444, and an third winding 446.

In addition, the third example UPS system 420 comprises a primary alternative energy source 450 and a charge controller 452. The example alternative energy source 450 is an array of solar panels, and the charge controller 452 generates a charge signal appropriate for charging the battery array 434 based on the electrical output of the solar panels. Optionally, one or more secondary alternative energy sources 454, such as wind or water turbines, may be provided. The charge controller 452 may be configured to generate an appropriate charge signal additionally based on the electrical output of the secondary alternative energy source or sources 454, if available.

FIG. 7 further illustrates that the example UPS system 420 comprises a motor generator 456 for generating an electrical signal appropriate for charging the battery array 434 based on a supply of fuel 458.

The third example UPS system 420 may be configured to operate in one or more of at least three operating modes. In a first (primary) operating mode, the UPS system 420 supplies power to the primary load 424 and charges the battery array 434 using power from the utility 422. In a second (standby) operating mode, the UPS system 420 supplies power to the primary load 424 using power stored in the battery array 434. In a third operating (peak shaving) mode, the UPS system 420 supplies power to the utility 422 using power stored in the battery array 434 and/or battery generated by the primary and/or secondary alternative energy sources 450 and 454. In the third example UPS system 420, the controller 436 determines whether the UPS system operates in the first, second, or third modes.

As discussed above with reference to the first example UPS 20, the use of the third operating mode allows the operator of the third example UPS system to optimize the use of assets (e.g., batteries, solar panels, wind turbines, water turbines, motor generators) that may be underused or which may generate too much capacity for use by the primary load 424 and/or battery array 434.

In addition, the use of the remote monitoring system 428 allows the controller 436 have up-to-date rate and other information for use in determining whether the UPS system 420 operates in the first, second, or third modes.

The third example UPS system 420 may be operated using a method similar to the example method 360 discussed above. In particular, If it is determined at step 380 that the utility 22 is supplying power at peak rates, the method also considers at step 384 whether the cost of the fuel 458 required to operate the motor generator 456 renders the motor generator 456 an acceptable alternative energy source for operating the UPS system 420 in the third mode. 

What is claimed is:
 1. An uninterruptible power supply adapted to be connected between an AC line and a load, comprising: a battery system for storing battery power; an inverter operatively connected to the battery system; a transformer operatively connected to the AC line, the load, and an inverter winding operatively connected to the inverter; and a controller for controlling the inverter to supply power to the primary winding using battery power stored in the battery system based on a cost value indicative of reduction of life of the battery system.
 2. An uninterruptible power supply as recited in claim 1, in which the controller controls the inverter by measuring at least one characteristic of the battery system.
 3. An uninterruptible power supply as recited in claim 1, in which the controller controls the inverter based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the primary winding.
 4. An uninterruptible power supply as recited in claim 1, in which the controller controls the inverter to operate in the third mode based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to a utility power source.
 5. An uninterruptible power supply as recited in claim 1, in which the controller controls the inverter to operate based on: a margin calculated based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the primary winding; and a determination of whether the margin is within predetermined parameters.
 6. A method of supplying power to a load, comprising the steps of: storing battery power in a battery system; operatively connecting an inverter to the battery system; providing a transformer; and operatively connecting the transformer to the AC line; operatively connecting the transformer to the load; operatively connecting the transformer to the inverter; controlling the inverter to supply power to the primary winding using battery power stored in the battery system based on a cost value indicative of reduction of life of the battery system.
 7. A method as recited in claim 1, in which the step of controlling the inverter comprises the step of determining when at least one characteristic of a primary power signal is within certain predetermined conditions.
 8. A method as recited in claim 2, in which the certain predetermined conditions include a price associated with the primary power signal.
 9. A method as recited in claim 2, in which the step of determining when at least one characteristic of a primary power signal is within certain predetermined conditions includes the step of determining a price associated with the primary power.
 10. A method as recited in claim 7, in which the step of determining when at least one characteristic of a primary power signal present at the primary winding is within certain predetermined conditions includes the step of measuring a voltage of the primary power signal.
 11. A method as recited in claim 6, in which the step of operatively connecting the transformer to the AC line comprises the step of operatively connecting the transformer to a utility power source.
 12. A method as recited in claim 6, further comprising the step of comparing a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the primary winding.
 13. A method as recited in claim 6, further comprising the steps of: calculating a margin based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the transformer; and operating the controller based on a determination of whether the margin is within predetermined parameters.
 14. An uninterruptible power supply adapted to be connected between an AC line and a load, comprising: a battery system for storing battery power; an inverter operatively connected to the battery system; a transformer comprising a primary winding adapted to be operatively connected to the AC line, a load winding adapted to be operatively connected to the load, and an inverter winding operatively connected to the inverter; and a controller for controlling the inverter to operate in a first mode in which the inverter supplies power to the battery system, a second mode in which the inverter supplies power to the load winding using battery power stored in the battery system, and a third mode based on a cost value indicative of reduction of life of the battery system.
 15. An uninterruptible power supply as recited in claim 14, in which the controller controls the inverter to operate in the first, second, and third modes by measuring at least one characteristic of the battery system.
 16. An uninterruptible power supply as recited in claim 14, in which the controller controls the inverter to operate in the third mode based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the primary winding.
 17. An uninterruptible power supply as recited in claim 14, in which the controller controls the inverter to operate in the third mode based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to a utility power source.
 18. An uninterruptible power supply as recited in claim 14, in which the controller controls the inverter to operate in the third mode based on: a margin calculated based on a quantification of reduction of overall life of the battery system and revenue associated with supplying power to the primary winding; and a determination of whether the margin is within predetermined parameters. 